﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="car-result-detail.aspx.cs" Inherits="car_result_detail" MasterPageFile="~/Mobile.master" Async="true" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<form id="Form1" runat="server">
<section>
<header id="header">
<nav id="nav">
<a href="default.aspx"><div class="branding"></div></a>
<div class="navpages">
<a href="car-result.aspx">
<asp:Image ID="imgTop" runat="server" ImageUrl="images/button/topnav-back.png" width="49" height="29" border="0" alt="back" BorderWidth="0"  /></a>
</div>
</nav>
</header>
</section>
<section id="body">
 <div class="body">                    
<center>
<div class="form white">
<div class="topResults"></div>
<div class="body">
<div class="pad">
<table cellpadding='0' cellspacing='0' border='0' width='240' style='font-family:Arial, Helvetica, sans-serif; font-size:12px; margin:0 auto;'>        
          <tr>
          <td style="border-bottom:1px solid #ccc;"><br />
            <table cellspacing="0" cellpadding="2" width="100%" border="0">
            <tr>
              <td valign="top" style="text-align:right;">Quote Ref Num :</td>
              <td valign="top" style="text-align:left;"><strong><u><asp:Label ID="lblRefNo" runat="server"></asp:Label></u></strong></td>
            </tr>
          
            <tr>
              <td valign="top" style="text-align:right;">Car Make & Model :</td>
              <td valign="top" style="text-align:left;"><strong><asp:Label ID="lblMakeModel" runat="server"></asp:Label></strong></td>
            </tr>
            <tr>
              <td valign="top" style="text-align:right;">Car Model Year :</td>
              <td valign="top" style="text-align:left;"><strong><asp:Label ID="lblCarYear" runat="server"></asp:Label></strong></td>
            </tr>
             <tr>
              <td valign="top" style="text-align:right;">Commencement Date :</td>
              <td valign="top" style="text-align:left;"><strong><asp:Label ID="lblPolicyDate" runat="server"></asp:Label></strong></td>
            </tr>
            <tr>
              <td valign="top" style="text-align:right;">NCD :</td>
              <td valign="top" style="text-align:left;"><strong><asp:Label ID="lblNCB" runat="server"></asp:Label></strong></td>
            </tr>
            <tr>
              <td valign="top" style="text-align:right;">Quote Date :</td>
              <td valign="top" style="text-align:left;"><strong><asp:Label ID="lblQuoteDate" runat="server"></asp:Label></strong></td>
            </tr>
            <tr>
                <td valign="top" style="text-align:right;">Vehicle Number :</td>
              <td valign="top" style="text-align:left;"><asp:TextBox ID="txtVehicleNo" runat="server" CssClass="input" Width="80px" ></asp:TextBox>
              <asp:RequiredFieldValidator ID="rfvVehicleNo" runat="server" CssClass="validationErrorControl" ErrorMessage="" InitialValue="" ValidationGroup="callmeoption" ControlToValidate="txtVehicleNo" Display="Dynamic"></asp:RequiredFieldValidator>
              </td>
            </tr>
          <%--  <tr>
                <td colspan="2" valign="bottom" align="center">
                <asp:HyperLink ID="HyperLink1" NavigateUrl="tel:022688222" runat="server">
<asp:Image ID="imgCallUsNow" runat="server" ImageUrl="~/images/button/callusnow_single.png" AlternateText="Call Us Now!" Width="190px" Height="30" BorderWidth="0" />
</asp:HyperLink>
                </td>
            </tr>--%>
            <tr>
            <td colspan="2" valign="bottom" align="center">
<%--            <asp:Button ID="btnEmail" runat="server" Text="email quote"  OnClick="btnEmail_Click"  />     --%>          
            <%--<asp:Button id="btnTest" runat="server" ValidationGroup="callmeoption" Text="test" OnClientClick="GoTest()" /> --%>
            <asp:ImageButton ID="imgbtnCallMe" runat="server" ImageUrl="~/images/button/callme_single.png"  alt="Call Me" Width="190px" Height="30" BorderWidth="0" OnClick="imgbtnCallMe_Click" ValidationGroup="callmeoption" OnClientClick="LoadValidationErrorCss();"/>
            <asp:ImageButton ID="imgEmailQuote" runat="server" ImageUrl="~/images/button/emailquote_single.png"  alt="Email Quote" Width="190px" Height="30" BorderWidth="0" OnClick="imgEmailQuote_Click" />
            </td>
            </tr>
          </table>
          <br /></td>
        </tr>
        <tr>
            <td width="360"><br />


<!-- TABLE | Start  -->

<table width="100%" border="0" cellpadding="5" cellspacing="0"  class="table_details">
  <tr>
    <td width="45%"></td>
    <td width="55%" align="center" style="background:#e0e0e0; border-bottom:white 1px dashed;"><asp:HyperLink ID="hlnkProvider" runat="server" Target="_blank"><asp:Image ID="imgInsurer" runat="server" /></asp:HyperLink></td>
  </tr>
  <tr>
    <td><strong>Insurer</strong></td>
    <td align="center" style="background:#d5d5d5; color:black;" ><strong><asp:Label ID="lblInsurer" runat="server"></asp:Label></strong></td>
  </tr>
  <tr>
  <td style="border-bottom:1px solid #ccc;" ></td>
  <td align="center" style="background:#d5d5d5;"><asp:Label ID="lblPackage" runat="server"></asp:Label></td>
  </tr>
  <tr>
    <td align="left" style="border-bottom:1px solid #ccc;" ><strong>Annual Premium</strong></td>
    <td align="center" style="background:#d5d5d5; color:black; font-size:16px;"><asp:Label ID="lblPrice" runat="server"></asp:Label></td>
  </tr>
  <tr>
    <td style="border-bottom:1px solid #ccc;"><strong>Excess</strong></td>
    <td align="center" style="background:#d5d5d5" ><asp:Label ID="lblExcess" runat="server"></asp:Label></td>
  </tr>
  <tr>
    <td style="border-bottom:1px solid #ccc;"><strong>Workshop Plan</strong></td>
    <td align="center" style="background:#c5c5c5;"><asp:Label ID="lblWorkshopPlan" runat="server"></asp:Label></td>
  </tr>
  <tr>
    <td style="border-bottom:1px solid #ccc;"><strong>Personal Accident (insured)</strong></td>
    <td align="center" style="background:#d5d5d5" ><asp:Image ID="imgPA" runat="server" Visible="false" /><asp:Label ID="lblPA" runat="server"></asp:Label></td>
  </tr>
  <tr>
    <td style="border-bottom:1px solid #ccc;"><strong>Personal Accident (each passenger)</strong></td>
    <td align="center" style="background:#c5c5c5;"><asp:Image ID="imgPAEP" runat="server" Visible="false" /><asp:Label ID="lblPAEP" runat="server"></asp:Label></td>
  </tr>
  <tr>
    <td style="border-bottom:1px solid #ccc;"><strong>Medical Expense</strong></td>
    <td align="center" style="background:#d5d5d5" ><asp:Label ID="lblMedExp" runat="server"></asp:Label></td>
  </tr>
  <tr>
    <td style="border-bottom:1px solid #ccc;"><strong>Loss of Personal Effects</strong></td>
    <td align="center" style="background:#c5c5c5;"><asp:Image ID="imgLossPE" runat="server" Visible="false" /><asp:Label ID="lblLossPE" runat="server"></asp:Label></td>
  </tr>
  <tr>
    <td style="border-bottom:1px solid #ccc;"><strong>Loss of Use (benefit)</strong></td>
    <td align="center" style="background:#d5d5d5" ><asp:Image ID="imgLossUse" runat="server" Visible="false" /><asp:Label ID="lblLossUse" runat="server"></asp:Label></td>
  </tr> 
</table>
<!-- TABLE | End  -->
<br />
<strong>Remarks</strong><br />
1 - The quotation valid for 7 days and subject to change without notice according to policy of company.<br />
2- Premium and coverage are subject to underwriting criteria of insurance company. 
          </td>
      </tr>
        <tr>
            <td id='email_footer'>
            </td>
        </tr>
    </table>
 </div>
 </div>
 </div>
    </center>
 </div>
    
 <div style="display: none;">
<input id="inputProviderId" runat="server" type="hidden" />
<input id="inputCarResultId" runat="server" type="hidden" />
<input runat="server" id="inputCallMeMakeModel" type="hidden" />
<input runat="server" id="inputCallMeCompanyName" type="hidden" />
<asp:Label ID="lblCarResultID" runat="server"></asp:Label>
</div>                    
<div class="bottom"></div>

</section>
</form>
<script type="text/javascript">
    function GoTest() {
        alert("hi!");
        var vehicle = document.getElementById('<%=txtVehicleNo.ClientID%>');
        alert(vehicle.value);
    }
</script>
</asp:Content>
